/**
 * 报表设计公司(2011)
 */
package com.reportgear.designer.action;

import net.abbp.report.context.ReportContext;
import net.abbp.report.view.GridView;

/**
 * 报表Action
 * 
 * @version 1.0 2011-3-24
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since ANNCSR 2.0
 */
public abstract class ReportAction extends AbstractAction {

    /**
     * 获取GridView
     * 
     * @return 当前GridView
     */
    public GridView getGridView() {
        return ReportContext.INSTANCE.getCurrentView();
    }
}